import request from '@/utils/request';

export async function queryRule(params) {
    const limit = params.pageSize;
    const page = params.current;
    const my_params = {
        limit: limit,
        page: page,
    };
    Object.assign(params, my_params);
    delete params.current;
  delete params.pageSize;
    return request('/member/recordConsume/page', {
        params,
    });
}
export async function getPayOrder(params) {
    return request(`pay/order/${params}`, {
      method: 'GET',
    });
  }
  